package com.lt.basic.project.pojo.vo.mino.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户授权表(basic_user_auth)返回列表对象
 * @author ：LT
 * @Created in : 2023-11-27
 */
@Data
@ApiModel(value="UserAuth返回列表对象", description = "用户授权表返回列表对象")
public class UserAuthListVo  implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * Openid
     */
    @ApiModelProperty(value = "Openid")
    private String openid;
    /**
     * Unionid
     */
    @ApiModelProperty(value = "Unionid")
    private String unionid;
    /**
     * 客户端类型: [1=微信小程序, 2=微信公众号, 3=手机H5, 4=电脑PC, 5=苹果APP, 6=安卓APP]
     */
    @ApiModelProperty(value = "客户端类型: [1=微信小程序, 2=微信公众号, 3=手机H5, 4=电脑PC, 5=苹果APP, 6=安卓APP]")
    private Integer terminal;
    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;



}